package com.sjq.project.service;

import net.sf.json.JSONObject;

import org.springframework.web.multipart.commons.CommonsMultipartFile;

import com.sjq.common.entity.LoginAccount;
import com.sjq.common.util.PageResults;
import com.sjq.project.entity.Project;

public interface ProjectService {
	//新增
	public JSONObject addProject(Project project,LoginAccount la);
	//新增含有附件的页面
	public JSONObject addProjectFilesByFTP(Project project,CommonsMultipartFile[]  fj,LoginAccount la);
	//删除
	public JSONObject deleteProject(String projectId,LoginAccount la);
	//修改
	public JSONObject updateProject(Project project,LoginAccount la);
	// 分页查询
	public PageResults<?> findProjectByPage(int pageNo, int pageSize, Project project);
	
	//根据条件查询所有记录
	public JSONObject findProjectByListAll(Project project,LoginAccount la);
	
}